package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "新增员工时传入的数据模型")
public class EmployeeDTO implements Serializable {
    @ApiModelProperty(value = "员工编号")
    private Long id;
    @ApiModelProperty(value = "用户名",required = true)
    private String username;
    @ApiModelProperty(value = "姓名",required = true)
    private String name;
    @ApiModelProperty(value = "手机号码",required = true)
    private String phone;
    @ApiModelProperty(value = "性别",required = true)
    private String sex;
    @ApiModelProperty(value = "身份证号",required = true)
    private String idNumber;

}
